/**
 ******************************* ICE *******************************
 * ========================================================================
 * Project:		iceservices
 * Package:		org.ice4apps.service
 * File:		IceOrganizationServiceLocal.java
 * Author: 		robin
 * Date: 		May 5, 2010
 * Description:	
 * ========================================================================
 * 
 */

package org.ice4apps.service;

import javax.ejb.Local;
import org.ice4apps.service.bean.LoginServiceRequest;
import org.ice4apps.service.bean.OfficeAddServiceRequest;
import org.ice4apps.service.bean.OfficeGetServiceResponse;
import org.ice4apps.service.bean.OfficeListGetServiceResponse;

@Local
public interface IceOrganizationServiceLocal extends IceOfficeServiceLocal {
    public String login (LoginServiceRequest req);
    public void logout (String sessionId);
    public void addOffice (String sessionId, OfficeAddServiceRequest req);
    public OfficeGetServiceResponse getOffice (String sessionId, String name);
    public OfficeListGetServiceResponse getOfficeList (String sessionId, String orgName);
}
